package cn.bdqn.demo2.springbootConfig;

import cn.bdqn.demo2.entitiy.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class SpringBootConfig {
    @Bean
    public User aaa(){
        User user=new User();
        user.setAge(99);
        user.setUname("天老爷");
        return user;
    }
}
